<?php


	$mail = new PHPMailer();
	$mail-> IsSMTP(); // 使用(其他就用SMTP)
	//$mail->SMTPSecure = "ssl"; // 设置连接服务器前缀
	$mail->Host = "smtp.163.com";      // GMAIL的SMTP
	$mail->Port = 25;                   // GMAIL的SMTP端口号
	$mail->SMTPAuth = true; // 开启SMTP认证
	$mail->Username = "bilineducation2010@163.com"; // GMAIL用户名,必须以@gmail结尾
	$mail->Password ="zf05101110"; // GMAIL密码
	//$webmaster_email = "xxx@gmail.com"; //回复到该地址
	$mail->From = "bilineducation2010@163.com" ;
	$mail->FromName = "bilineducation";
	$mail->WordWrap = 50;  // 设定 word wrap
	//$mail->AddAttachment("/var/tmp/file.tar.gz"); // 附件1
	//$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // 附件2
	$mail->IsHTML(true); // 以HTML发送
	
?>